import request from '@/utils/request'

export function getAccountData(params) {
  return request({
    url: '/getAccountData',
    method: 'get',
    params
  })
}

export function queryAccounts(params) {
  return request({
    url: '/queryAccounts',
    method: 'get',
    params
  })
}

export function modifyAccountPsd(params) {
  return request({
    url: '/modifyAccountPsd',
    method: 'get',
    params
  })
}

export function comparePassword(params) {
  return request({
    url: '/comparePassword',
    method: 'get',
    params
  })
}

export function modifyAccount(params) {
  return request({
    url: '/modifyAccount',
    method: 'get',
    params
  })
}

export function delAccount(params) {
  return request({
    url: '/delAccount',
    method: 'get',
    params
  })
}

export function adminModifyAccount(params) {
  return request({
    url: '/adminModifyAccount',
    method: 'get',
    params
  })
}

export function getPsd(params) {
  return request({
    url: '/getPsd',
    method: 'get',
    params
  })
}
